home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / qbbs / rapoll10.zip / RA-POLL.DOC < prev    next >
Text File  |  1990-07-07  |  4KB  |  97 lines

  1.     RA-poll ver 1.1 By Jim Black - A RemoteAccess Poll generating program
  2.         P.S.  This is a quick conversion from my Q-Poll for QuickBBS
  3.   --------------------------------------------------------------------------
  4.  
  5.   The ability to create polls has always existed in RemoteAccess in the form
  6.   of the questionnaire.  This program merely takes the answers choosen and
  7.   creates nicely formated textfiles.  RA-Poll requires two parameters to be
  8.   passed on the command line:  The pollfile name (a .ctl that you must
  9.   create) and the path to your textfiles area.  An example pollfile has been
  10.   included in this archive.
  11.  
  12.   The controlfile:
  13.   The first line is the name of the poll being taken.
  14.   The following lines are the valid choices (Up to 40 choices allowed)
  15.  
  16.   The Questionnaire:
  17.   A Questionnaire must also be created under the same name as the control
  18.   file.  The questionnaire should only allow valid selections to be made.
  19.   valid choices ALWAYS begin with the letter A as the first choice thru as
  20.   many choices you have in the control file.  The Questionnaire SHOULD ONLY
  21.   be answered once by each user.  A flag should be used to allow the
  22.   questionnair to be taken, and that specific flag should be turned off by
  23.   the questionnaire so that it can't be taken twice.  Forcing the question-
  24.   naire from the Mainmenu with the ^A and the required flag is the best way
  25.   to make sure that Everyone takes the poll, and that everyone can only take
  26.   it once.
  27.  
  28.   The Output:
  29.   RA-Poll will create 4 files in your textfiles area.  The first two will be
  30.   named the same name as the pollfile only with a .ANS and .ASC extension
  31.   and will be the choice breakdown.  The last two reports will be the names
  32.   of the people who took the poll and what they chose.  These two files will
  33.   be named after the pollfile in .ASC and .ANS flavors also, but the name
  34.   will include 'USR' in it.  For example COMPUTER.CTL will create 4 files:
  35.   COMPUTER.ASC, COMPUTER.ANS, COMPUUSR.ASC, & COMPUUSR.ANS.  All these
  36.   files can simply be added to your bulletin menu.
  37.  
  38.   The following is the sample Questionnaire included:
  39.       changecolor 12 0
  40.       display "||Choose your computer type from the list below:"
  41.       changecolor 14 0
  42.       display "|| A. Apple Mac"
  43.       display "| B. Apple //c"
  44.       display "| C. Apple IIGS"
  45.       display "| D. Apple"
  46.       display "| E. Atari 8-bit"
  47.       display "| F. Atari ST"
  48.       display "| G. Commodore 64/128"
  49.       display "| H. Commodore Amiga"
  50.       display "| I. IBM XT or Compatable"
  51.       display "| J. IBM AT or Compatable"
  52.       display "| K. IBM PCjr"
  53.       display "| L. TRS 80 Color Computer"
  54.       display "| M. Dumb Terminal"
  55.       display "| N. Not in list"
  56.       display "||Enter selection >"
  57.       getchoice ABCDEFGHIJKLMN 1
  58.       postinfo
  59.       outputanswer 1
  60.       setflag C6 off
  61.   Note that the 'Postinfo' and 'Outputanswer 1' IS REQUIRED
  62.   Also note the 'Setflag C6 off'.  This is the flag that I use on my system
  63.   to allow access to the questionnaire.  From my mainmenu I force (^A) the
  64.   questionnare and also require the flag C6 to be set.  All my newusers have
  65.   the C6 set to on.  Anyone who hasn't taken the questionnaire (Already on
  66.   the system before the questionnaire was installed) should also have C6 set.
  67.  
  68.   The following is the sample control file included:
  69.       C o m p u t e r    T y p e s
  70.       Apple Mac
  71.       Apple //c
  72.       Apple IIGS
  73.       Apple
  74.       Atari 8-bit
  75.       Atari ST
  76.       Commodore 64/128
  77.       Commodore Amiga
  78.       IBM XT or Compatable
  79.       IBM AT or Compatable
  80.       IBM PCjr
  81.       TRS 80 Color Computer
  82.       Dumb Terminal
  83.       Not in List
  84.   This file is easy enough to figure out.  the top line is the poll heading,
  85.   and the rest of the lines are the choices (A-N in this example).
  86.  
  87.   I hope you enjoy using RA-Poll.  Forward all comments to me at 1:324/115
  88.   or on my Bulletin Board at (508)682-0133.
  89.  
  90.   BTW, RA-Poll is free to do with as you wish.  It can't possibly hurt anything
  91.   on your system since it dosen't write any files except it's own output, but
  92.   I still must say that I take no responsibility for any damage done by the
  93.   program (Just to keep this Doc file in common with all the other you have
  94.   read in the past).
  95.  
  96.  
  97.